//
//  BaseAlterController.h
//  CharonTVProject
//
//  Created by karong on 2023/6/21.
//

#import "BasePopoverController.h"


NS_ASSUME_NONNULL_BEGIN

@interface BaseAlterController : BasePopoverController
///弹窗主体
@property (weak, nonatomic) IBOutlet UIView *mainView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIButton *confirmBtn;
@property (weak, nonatomic) IBOutlet UIButton *cancelBtn;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

@property (nonatomic, copy) NSString * titleStr;
@property (nonatomic, copy) NSString * contentStr;
@property (nonatomic, copy) NSString * confirmStr;
@property (nonatomic, copy) NSString * cancelStr;
@property (nonatomic, assign) NSInteger maxWordCount;

@property (nonatomic, copy) charonTV_EmptyBlock confirmHandle;

///刷新
- (void)layoutView;

@end

NS_ASSUME_NONNULL_END
